﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class SoDuBUS
    {
        public int ktTonTai_Thang(DateTime date)
        {
            DAO.SoDuDAO dao = new SoDuDAO();
            return dao.ktTonTai_Thang(date);
        }
        public void ThemSoDuThangMoi(DateTime date)
        {
            DAO.SoDuDAO dao = new SoDuDAO();
            dao.ThemSoDuThangMoi(date);
        }
        public void CapNhatSoDu_TungSanPham(SoDuDTO dto)
        {
            DAO.SoDuDAO dao = new SoDuDAO();
            dao.CapNhatSoDu_TungSanPham(dto);
        }
    }
}
